This command will return the current ftp directory.
Return String=GET FTP DIR$()
Path string
ftp connect path$=get ftp dir$() ftp disconnect
FTP Commands Menu Index